package com.jmp.base.dto;

import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
@Builder
public class ShopCartListVo {
    private List<Supplier> supplierList;

    @Data
    @Builder
    public static class Supplier {
        private Integer companyId;
        private List<Goods> goodsList;
    }

    @Data
    @Builder
    public static class Goods {
        private Integer shopCartId;
        private Integer specId;
        private Integer num;
        private Integer cardId;
        private Integer forwardId;

        private String photo;
        private Integer goodsId;
        private String goodsName;
        private String specName;
        private String specAttribute;
        private Integer specNum;
        private BigDecimal price;
    }
}
